<template>
  <div>{{ value.data.data.name }}</div>
  <div v-for="(item, i) in value.options" :key="i">
    {{ item.label }} ---- {{ item.value }}
  </div>
</template>
<script setup lang="ts">
const TYPEDATA = {
  options: [
    { label: "aaa", value: 1 },
    { label: "bbb", value: 2 },
  ],
  data: {
    data: { name: "testObj" },
  },
};
type PropsType = {
  value: typeof TYPEDATA;
};
const props = defineProps<PropsType>();
setTimeout(() => {
  props.value.options = [
    { label: "aaa", value: 1 },
    { label: "bbb", value: 2 },
    { label: "ccc", value: 3 },
  ]
}, 5000);
</script>
